package com.gxl.ServiceImpl;


<<<<<<< HEAD
import com.gxl.Dao.UserDao;
import com.gxl.Entity.Manager;
=======
import java.util.List;

import com.gxl.Dao.UserDao;
import com.gxl.Entity.Manager;
import com.gxl.Entity.StudentUser;
>>>>>>> bcf2400f1f37cc9af755d42c2557f9ec702656e8
import com.gxl.Entity.User;
import com.gxl.Service.UserService;

public class UserServiceImpl implements UserService {

	UserDao userDao;

	@Override
	public User FindUser(String UserNo, String UserPassword) {
		return userDao.FindUser(UserNo,  UserPassword);
	}

	
	public String InsertUser(User user){
		
		String s=userDao.InsertUser(user);
		return s;
	}
<<<<<<< HEAD
=======
	
	public List<User> FindAll() {
		
		return userDao.FindAll();
	}

>>>>>>> bcf2400f1f37cc9af755d42c2557f9ec702656e8

	public UserDao getUserDao() {
		return userDao;
	}
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

<<<<<<< HEAD

=======
	@Override
	public void ChangeUserYes(String userid, String username,String change) 
	{
	userDao.ChangeUserYes(userid, username, change);
		
	}
	
>>>>>>> bcf2400f1f37cc9af755d42c2557f9ec702656e8



}
